package com.aat.dxfy.spring.anno;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class SayView {
	@Autowired
	private SayService sayService;
	
	@Autowired
	private ReadService readService;
	
	public void toView(){
		System.out.println(readService.read(sayService.say()));
	}
}
